<?php
    class CompoundEntity
    {
        private $id;
        private $rfqID;
        private $color;
        private $effect;
        private $application;
        private $shade;
        private $exactness;
        private $physicalProperty;
        private $transluecency;
        private $colorReference;
        private $inTime;
        private $inUser;

        function __get($name)
        {
            if (isset($this->$name)) {
                return $this->$name;
            } else {
                return(NULL);
            }
        }

        function __set($name, $value)
        {
            $this->$name = $value;
        }
    }
?>
